package com.chb.test.redPacketDemo_10;


public class ThreadDemo {
    public static void main(String[] args) {
        // 创建5个线程
        People p1 = new People("张三");
        People p2 = new People("李四");
        People p3 = new People("王五");
        People p4 = new People("赵六");
        People p5 = new People("胡七");
        p1.start();
        p2.start();
        p3.start();
        p4.start();
        p5.start();
    }
}
